package chapter_24_visitor.my;

/**
 * Created by CharloYao on 2017/8/1.
 */
public class ConcreteVisitor2 implements IVisitor {
    @Override
    public void visit(ConcreteElement1 element1) {
        System.out.println("visitor2 visit element1");
    }

    @Override
    public void visit(ConcreteElement2 element2) {
        System.out.println("visitor2 visit element2");
    }
}
